<?php
defined('SYS_RUN') or exit();

define('URL_BASE', $_SERVER['REQUEST_SCHEME'].'://'.$_SERVER['HTTP_HOST'].'/');
define('URL_CACHE', URL_BASE.'files/cache/');


define('DIR_SYS', $_SERVER['DOCUMENT_ROOT']);
define('DIR_APPLICATION', DIR_SYS.'application/');
define('DIR_FILES', DIR_SYS.'files/');
define('DIR_CACHE', DIR_FILES.'cache/');
define('DIR_SCRIPT', DIR_CACHE.'script/');